﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ttifa.Push
{
    public class JPushParam
    {
        public string[] alias { get; set; }

        public JPushPlatform platform { get; set; }

        public string message { get; set; }

        public string title { get; set; }

        public string extras { get; set; }

        public AudienceEnum audience { get; set; }

        public TerminalApp App { get; set; }
    }

    /// <summary>
    /// 推送平台
    /// </summary>
    public enum JPushPlatform
    {
        all,
        android,
        ios,
        winphone,
        android_ios,
        android_winphone,
        ios_winphone
    }

    /// <summary>
    /// 推送目标
    /// </summary>
    public enum AudienceEnum
    {
        all,
        tag,
        alias,
        registrationId
    }

    /// <summary>
    /// 推送终端app
    /// </summary>
    public enum TerminalApp
    {
        Ttifa
    }
}